package com.xiaotu.common.model;

import com.xiaotu.common.util.Constants;

/**
 * @类名 JobLogModel
 * @日期 2017年2月9日
 * @作者 高海军
 * @功能 爬取指定对象的结果日志实体类
 */
public class JobLogModel
{
	private String seriesNo;// 整个爬虫任务的序列号
	private int logType = Constants.LogConstants.TYPE_SERVICE;// 日志类型
	private String jobType;// 任务类型
	private String dataType;// 数据类型（主要用于同一类任务采集的不同数据类型）
	private String targetType;// 爬取对象的类型，0代表电视剧，1代表艺人
	private String targetId;// 对象id
	private String targetName;// 对象名字
	private String jobStatus;// 爬取结果，0为成功，1为失败，2为无数据
	private String targetContent;// 爬取内容
	private String exception;// 异常编码
	private String message;// 异常说明
	private String url;// 请求地址
	private long timestamp;// 完成时间
	
	public String getSeriesNo()
	{
		return seriesNo;
	}
	
	public void setSeriesNo(String seriesNo)
	{
		this.seriesNo = seriesNo;
	}
	
	public String getJobType()
	{
		return jobType;
	}
	
	public void setJobType(String jobType)
	{
		this.jobType = jobType;
	}
	
	public String getTargetType()
	{
		return targetType;
	}
	
	public void setTargetType(String targetType)
	{
		this.targetType = targetType;
	}
	
	public String getTargetId()
	{
		return targetId;
	}
	
	public void setTargetId(String targetId)
	{
		this.targetId = targetId;
	}
	
	public String getJobStatus()
	{
		return jobStatus;
	}
	
	public void setJobStatus(String jobStatus)
	{
		this.jobStatus = jobStatus;
	}
	
	public String getTargetContent()
	{
		return targetContent;
	}
	
	public void setTargetContent(String targetContent)
	{
		this.targetContent = targetContent;
	}
	
	public String getException()
	{
		return exception;
	}
	
	public void setException(String exception)
	{
		this.exception = exception;
	}
	
	public String getDataType()
	{
		return dataType;
	}
	
	public void setDataType(String dataType)
	{
		this.dataType = dataType;
	}
	
	public String getTargetName()
	{
		return targetName;
	}
	
	public void setTargetName(String targetName)
	{
		this.targetName = targetName;
	}
	
	public String getUrl()
	{
		return url;
	}
	
	public void setUrl(String url)
	{
		this.url = url;
	}
	
	public String getMessage()
	{
		return message;
	}
	
	public void setMessage(String message)
	{
		this.message = message;
	}
	
	public long getTimestamp()
	{
		return timestamp;
	}
	
	public void setTimestamp(long timestamp)
	{
		this.timestamp = timestamp;
	}
	
	public int getLogType()
	{
		return logType;
	}
	
	public void setLogType(int logType)
	{
		this.logType = logType;
	}
}
